package com.ag.score.thread;



import com.ag.score.thread.service.ThreadService;



public class RecordThread extends  Thread{




    public void run (){

        try {
            Thread.sleep(10 * 1000);
        }catch (Exception e){
            e.printStackTrace();
        }
        ThreadService service = new ThreadService();

        while (true){

            try {

                service.processRecord();


            }catch (Exception e){
                e.printStackTrace();
            }


            try {

                Thread.sleep(60 * 1000);
            }catch (Exception e){
                e.printStackTrace();
            }
        }







    }







}
